package com.novunda.platform.common.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * ..
 * 日志条数缓存
 *
 * @author yangg
 * @since 2016/9/19.
 */
public class LogCount implements Serializable {

    private static final long serialVersionUID = -5523462825509528348L;

    /**
     * 上次存入时间
     */
    private long lastTime;
    /**
     * 日志条数
     */
    private long countNum;

    public long getLastTime() {
        return lastTime;
    }

    public void setLastTime(long lastTime) {
        this.lastTime = lastTime;
    }

    public long getCountNum() {
        return countNum;
    }

    public void setCountNum(long countNum) {
        this.countNum = countNum;
    }

    public LogCount(long countNum) {
        this.countNum = countNum;
        this.lastTime = new Date().getTime();
    }
}
